Add comment for someone with Garmins to fix up the setshort stuff.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 1 Oct 2002 18:10:11 +0000 (18:10 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 1 Oct 2002 18:10:11 +0000 (18:10 +0000)
gpsbabel/garmin.c

index c6a81fa799c2e20b8957fed010602d6ba22e2e01..c85195b57eb99373785d5d27439d313ac34547a0 100644 (file)
@@ -83,6 +83,16 @@ data_write(void)
        }
 
        i = 0;
+       /*
+        * FIXME: Someone that knows the Garmin protocol could 
+        * do something clever here and switch on gps_save_id to 
+        * setshort_length to 
+        *      15 for  the V, 
+        *      10 for Street Pilot, Rhino, 76
+        *      6 for the III, 12, emap, and etrex
+        * Fortunately, getting this "wrong" only results in ugly names
+        * when we're using the synthesize_shortname path.
+        */
        setshort_length(10);
        setshort_mustupper(1);
        QUEUE_FOR_EACH(&waypt_head, elem, tmp) {